package xyz.zichengdulin.service;

import xyz.zichengdulin.pojo.PageResult;
import xyz.zichengdulin.pojo.Student;
import xyz.zichengdulin.pojo.StudentQueryParam;

import java.util.List;

public interface StudentService {

    PageResult<Student> page(StudentQueryParam studentQueryParam);

    void deleteByIds(List<Integer> ids);

    void insert(Student student);

    Student getInfoById(Integer id);

    void update(Student student);

    void violate(Integer id, Integer score);
}
